<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <title>Attender</title>
    <%= javascript_include_tag :defaults %>
    <%= stylesheet_link_tag 'application' %>
  </head>
  <body>
    <% if logged_in? %>
      <div>Logged in as <%= current_user.login %>. <%= link_to('Logout', sessions_path, :method => 'delete')%></div>
    <% else %>
      <div><%= link_to('Login', new_sessions_path)%></div>
    <% end %>
    <%= yield %>
  </body>
</html>
